package com.guoqi.keepsign

import android.app.Application
import com.guoqi.keepsign.base.MyImageLoader
import com.guoqi.keepsign.previewlibrary.ZoomMediaLoader
import com.lzy.okgo.OkGo



/**
 *  作者    GUOQI
 *  时间    2019-04-22 16:47
 *  描述
 */
class App : Application() {

    companion object {
        var INSTANCE: App? = null
    }

    override fun onCreate() {
        super.onCreate()
        INSTANCE = this
        OkGo.getInstance().init(this)
        ZoomMediaLoader.getInstance().init(MyImageLoader())
    }
}